package tjut.opp.testI17;

public class MonkeyTest {

	public static void main(String[] args) {
		//x为天数
		int x=1;
		int sum=1;
	    while(x<=9){
	    	sum=(sum+1)*2;
	    	x++;
	    }
	    System.out.println("一共"+sum+"个桃子");
	}

}
